import VueRouter from 'vue-router'
import second from "@/pages/second";
import first from "@/pages/first";
import Vue from "vue";

Vue.use(VueRouter)

const router=new VueRouter(
    {
        mode: "history",
        routes:[
            {
                path: "/a",
                component: first
            },
            {
                path: "/b",
                component: second
            },
        ]
    },
)

export  default router